<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>新浪微博用户活跃度分布图</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="d3ce799e7d3640cb88d2a933141472da" style="width:100%; height:600px;"></div>
    <script>
        var chart_d3ce799e7d3640cb88d2a933141472da = echarts.init(
            document.getElementById('d3ce799e7d3640cb88d2a933141472da'), 'white', {renderer: 'canvas'});
        var option_d3ce799e7d3640cb88d2a933141472da = {
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "pie",
            "name": "\u5fae\u535a\u53d1\u5e03\u6570\u91cf",
            "clockwise": true,
            "data": [
                {
                    "name": "[0,10)",
                    "value": 12619
                },
                {
                    "name": "[10,50)",
                    "value": 5970
                },
                {
                    "name": "[50,200)",
                    "value": 9104
                },
                {
                    "name": "[200,500)",
                    "value": 5547
                },
                {
                    "name": "[500,1000)",
                    "value": 3956
                },
                {
                    "name": "1000+",
                    "value": 10920
                }
            ],
            "radius": [
                "20%",
                "60%"
            ],
            "center": [
                "50%",
                "50%"
            ],
            "roseType": "area",
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "formatter": "{b}\uff1a{c}\uff08{d} %\uff09"
            },
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        }
    ],
    "legend": [
        {
            "data": [
                "[0,10)",
                "[10,50)",
                "[50,200)",
                "[200,500)",
                "[500,1000)",
                "1000+"
            ],
            "selected": {},
            "show": true
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u65b0\u6d6a\u5fae\u535a\u7528\u6237\u6d3b\u8dc3\u5ea6\u5206\u5e03\u56fe"
        }
    ],
    "toolbox": {
        "show": true,
        "orient": "horizontal",
        "itemSize": 15,
        "itemGap": 10,
        "left": "80%",
        "feature": {
            "saveAsImage": {
                "show": true,
                "title": "save as image",
                "type": "png"
            },
            "restore": {
                "show": true,
                "title": "restore"
            },
            "dataView": {
                "show": true,
                "title": "data view",
                "readOnly": false
            },
            "dataZoom": {
                "show": true,
                "title": {
                    "zoom": "data zoom",
                    "back": "data zoom restore"
                }
            }
        }
    }
};
        chart_d3ce799e7d3640cb88d2a933141472da.setOption(option_d3ce799e7d3640cb88d2a933141472da);
    </script>
</body>
</html>
